﻿using System.Configuration;

namespace BSDS.Core.Services.BingRestApi
{
    public class BingRestConfigSection : ConfigurationSection 
    {
        [ConfigurationProperty("bingRestUrl", IsRequired = true)]
        public string BingRestUrl
        {
            get { return (string)this["bingRestUrl"]; }
            set { this["bingRestUrl"] = value; }
        }

        [ConfigurationProperty("bingKey", IsRequired = true)]
        public string BingKey
        {
            get { return (string)this["bingKey"]; }
            set { this["bingKey"] = value; }
        }
    }
}
